/*
 * Copyright 2010, 2011, 2012 mapsforge.org
 *
 * This program is free software: you can redistribute it and/or modify it under the
 * terms of the GNU Lesser General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License along with
 * this program. If not, see <http://www.gnu.org/licenses/>.
 */
package com.plako.mapper.offline;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.plako.mapper.R;
import com.plako.mapper.data.AlertPoint;

public class AlertPointDialog extends Activity {

	private AlertPoint alertPoint;

	// private RadioGroup stateRadioGroup;
	// private EditText image;
	// private EditText adress;
	// private EditText comment;
	private Button save;
	private Button cancel;

	public AlertPoint getAlertPoint() {
		return alertPoint;
	}

	public void setAlertPoint(AlertPoint alertPoint) {
		this.alertPoint = alertPoint;
	}

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		setContentView(R.layout.activity_new_point_dialog);
		// stateRadioGroup = (RadioGroup) findViewById(R.id.stateRadioGroup);
		// image = (EditText) findViewById(R.id.image);
		// adress = (EditText) findViewById(R.id.adress);
		// comment = (EditText) findViewById(R.id.comment);
		save = (Button) findViewById(R.id.save);

		cancel = (Button) findViewById(R.id.cancel);
		cancel.setOnClickListener(new android.view.View.OnClickListener() {

			@Override
			public void onClick(View v) {
				setAlertPoint(null);

			}
		});
		super.onCreate(savedInstanceState);
	}

}
